﻿@using HrEFCore
@model List<CM>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-trasitional.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<script src="~/aa/vue/dist/vue.js"></script>
	<script src="~/aa/element-ui/lib/index.js"></script>
	<link href="~/aa/element-ui/lib/theme-chalk/index.css" rel="stylesheet" />
	<script src="~/aa/axios/dist/axios.js"></script>
	<link rel="stylesheet" href="~/css/table.css" type="text/css"></link>
	<script type="text/javascript" src="~/javascript/comm/comm.js"></script>
	<script type="text/javascript" src="~/javascript/jquery-1.7.2.js"></script>
	<style type="text/css">
		body {
			background: rgb(253,244,227);
		}

		.TD_STYLE1 {
			background: #E6DDCE;
			/* color:white; */
		}

		.TD_STYLE2 {
			background: rgb(253,244,227);
		}

		.INPUT_STYLE2 {
			background: rgb(253,244,227);
		}
	</style>
</head>

<body>
	<form action="" method="post">
		<table style="width:100%;margin-top:10px;height:30px;background-color:rgb(253,244,227)">
			<tr>
				<td>
					<font color="black">
						您正在做的业务是：人力资源--客户化设置--人力资源档案管理设置--职称设置
					</font>
				</td>
			</tr>
			<tr>
				<td style="float:right;margin-bottom:10px;margin-right:20px">
					<button class="btn btn-warning">
						@Html.ActionLink("添加", "Add", "CM", null, new { target = "mainFrame", style = "color:black;", id="fist"})
					</button>
				</td>
			</tr>
		</table>
		<table class="table table-bordered" style="width:100%">
			<tr style="background: #E6DDCE;">
				<th>职位分类编号</th>
				<th>职位分类名称</th>
				<th>职位编号</th>
				<th>职位名称</th>
				<th>删除</th>
			</tr>
			@foreach (CM item in Model)
			{
				<tr style="background-color:rgb(253,244,227)">
					<td>@item.MajorKindId</td>
					<td>@item.MajorKindName</td>
					<td>@item.MajorId</td>
					<td>@item.MajorName</td>
					<td>@Html.ActionLink("删除","Delete",new{id=item.MakId},new{onclick="return confirm('确定要删除吗？')"})</td>
				</tr>
			}
		</table>
		<th colspan="7" class="pager">
		</th>
		<p>
	</form>
</body>
</html>